home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / catapult / catapult.exe / ALPHA / PERFCTRS / PROXCTRS.H < prev    next >
C/C++ Source or Header  |  1996-05-07  |  3KB  |  82 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1995                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     Module Name:
  8.         proxctrs.h
  9.  
  10.     Abstract:
  11.         Offset definitions for the Proxy Server's counter objects & 
  12.         counters.
  13.  
  14.         These offsets *must* start at 0 and be multiples of 2.  In the
  15.         ProxyOpenPerformanceData procecedure, they will be added to the
  16.         Proxy Server's "First Counter" and "First Help" values in order 
  17.         to determine the absolute location of the counter & object names
  18.         and corresponding help text in the registry.
  19.  
  20.         This file is used by the iasmon.dll code as well as the
  21.         ias.ini definition file.  iasmon.INI is parsed by the
  22.         LODCTR utility to load the object & counter names into the
  23.         registry.
  24.  
  25.  
  26.     FILE HISTORY:
  27.         SophiaC     10-Apr-1996
  28.  
  29. */
  30.  
  31.  
  32. #ifndef _PROXCTRS_H_
  33. #define _PROXCTRS_H_
  34.  
  35.  
  36. //
  37. //  The Proxy Server counter object.
  38. //
  39.  
  40. #define PROXY_COUNTER_OBJECT                          0
  41.  
  42.  
  43. //
  44. //  The individual counters.
  45. //
  46.  
  47. #define PROXY_INET_BYTES_SENT_COUNTER                 2
  48. #define PROXY_INET_BYTES_RECEIVED_COUNTER             4
  49. #define PROXY_INET_BYTES_TOTAL_COUNTER                6
  50.  
  51. #define PROXY_CLNT_BYTES_SENT_COUNTER                 8
  52. #define PROXY_CLNT_BYTES_RECEIVED_COUNTER             10
  53. #define PROXY_CLNT_BYTES_TOTAL_COUNTER                12
  54.  
  55. #define PROXY_CURRENT_USERS_COUNTER                   14
  56. #define PROXY_TOTAL_USERS_COUNTER                     16
  57. #define PROXY_MAX_USERS_COUNTER                       18
  58.  
  59. #define PROXY_FTP_REQUESTS_COUNTER                    20
  60. #define PROXY_GOPHER_REQUESTS_COUNTER                 22
  61. #define PROXY_HTTP_REQUESTS_COUNTER                   24
  62. #define PROXY_REQUESTS_TOTAL_COUNTER                  26
  63.  
  64. #define PROXY_SUCC_REQUESTS_TOTAL_COUNTER             28
  65. #define PROXY_FAIL_REQUESTS_TOTAL_COUNTER             30
  66.  
  67. #define PROXY_CACHE_FETCHES_TOTAL_COUNTER             32
  68. #define PROXY_INET_FETCHES_TOTAL_COUNTER              34    
  69.  
  70. #define PROXY_SITES_DENIED_TOTAL_COUNTER              36
  71. #define PROXY_SITES_GRANTED_TOTAL_COUNTER             38
  72.  
  73. #define PROXY_DNSCACHE_ENTRIES_COUNTER                40
  74. #define PROXY_DNSCACHE_RETRIEVALS_COUNTER             42
  75. #define PROXY_DNSCACHE_FLUSHES_COUNTER                44
  76. #define PROXY_DNSCACHE_HITS_COUNTER                   46
  77. #define PROXY_DNSCACHE_RATIO_COUNTER                  48
  78. #define PROXY_DNSCACHE_RATIO_DENOM_COUNTER            50
  79.  
  80. #endif  // _PROXYCTRS_H_
  81.  
  82.